package com.learn.proxy.javassit.proxy;

import lombok.AccessLevel;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.FieldDefaults;

/**
 *
 * @author XuYang
 * @since 2025/10/13 16:27
 */
@Data
@FieldDefaults(level = AccessLevel.PRIVATE)
@NoArgsConstructor
@AllArgsConstructor
public class SimpleEntity
{
    Long id;

    public void test1() {
        System.out.println("test1");
    }

    public void test2() {
        System.out.println("test2");
        test1();
    }
}
